package com.define.ssh.service;

import java.util.Date;
import java.util.List;

import com.define.ssh.common.JqueryZTreeNode;
import com.define.ssh.model.Compdept;

public interface CompdeptService extends BaseService<Compdept, Integer> {

	/***
	 * 加载tree
	 * 
	 * @param id
	 * @return
	 */
	public List<JqueryZTreeNode> loadTree(Integer pid);

	public int getTotalByDeptId(int id);
	
	public void delete1(int id);
	
	public Integer count(Integer pid);
}
